export function save(storageKey: string, data: any) {
  localStorage.setItem(storageKey, JSON.stringify(data))
}

export function findByStorageKey(storageKey: string) {
  const storedData = localStorage.getItem(storageKey)
  if (storedData) {
    return storedData
  }
  return null
}

export function deleteByStorageKey(storageKey: string) {
  localStorage.removeItem(storageKey)
}
